<template>
	<view class="">
		<scroll-view scroll-x="true" >
		<view class="box">
				<view class="scroll">
					<view class="top">
						<view class="left">
							<view class="cricle">
								<text>半年销售628件</text>
							</view>
							<view class="title">
								<text>小米充电器 无线充电</text>
							</view>
							<view class="tip">
								<view style="background-color: #FFF2F2; color:pink; border-radius: 5px;">
									<text>大功率 闪充</text>
								</view>
								<view style="background-color: #F2F9FF; color:#9FD3FF; border-radius: 5px;">
									<text>双重散热更安全</text>
								</view>
								
							</view>
						</view>
						<view class="right">
							<image src="../../static/image/home/图像%2096@3x.png" style="width: 75px;height: 74px;" mode=""></image>
						</view>
					</view>
					<view class="buttom">
						查看详情
					</view>
				</view>
				<view class="scroll">
					<view class="top">
						<view class="left">
							<view class="cricle">
								<text>半年销售628件</text>
							</view>
							<view class="title">
								<text>小米充电器 无线充电</text>
							</view>
							<view class="tip">
								<view style="background-color: #FFF2F2; color:pink; border-radius: 5px;">
									<text>大功率 闪充</text>
								</view>
								<view style="background-color: #F2F9FF; color:#9FD3FF; border-radius: 5px;">
									<text>双重散热更安全</text>
								</view>
							</view>
						</view>
						<view class="right">
							<image src="../../static/image/home/图像%2096@3x.png" style="width: 75px;height: 74px;" mode=""></image>
						</view>
					</view>
					<view class="buttom">
						查看详情
					</view>
				</view>
				<view class="scroll">
					<view class="top">
						<view class="left">
							<view class="cricle">
								<text>半年销售628件</text>
							</view>
							<view class="title">
								<text>小米充电器 无线充电</text>
							</view>
							<view class="tip">
								<view style="background-color: #FFF2F2; color:pink; border-radius: 5px;">
									<text>大功率 闪充</text>
								</view>
								<view style="background-color: #F2F9FF; color:#9FD3FF; border-radius: 5px;">
									<text>双重散热更安全</text>
								</view>
							</view>
						</view>
						<view class="right">
							<image src="../../static/image/home/图像%2096@3x.png" style="width: 75px;height: 74px;" mode=""></image>
						</view>
					</view>
					<view class="buttom">
						查看详情
					</view>
				</view>
		
		</view>
			</scroll-view>
	</view>
</template>

<script>
</script>

<style lang="scss">
	.box{
		// width: 276px;
		height: 139px;
		display: flex;
		flex-wrap: nowrap;
		.scroll{
			width: 276px;
			height: 139px;
			flex-shrink: 0;
			// background-color: yellow;
			padding: 10px;
			border-radius:10px;
			box-shadow:  5px 10px 5px 5px  #999999;
			margin-left: 10px;
			.top{
				display: flex;
				justify-content: space-around;
				align-items: center;
				.cricle{
					width: 77px;
					height: 21px;
					border-radius: 16px;
					background-color: orange;
					color:white;
					font-size: 10px;
					text-align: center;
					line-height: 21px;
				}
				.title{
					margin-top: 10px;
					font-weight:bold;
				}
				.tip{
					display: flex;
					justify-content: space-evenly;
				}
			}
			.buttom{
				border-top: 1px solid #999999;
				line-height: 30px;
				padding: 10px;
			}
		}
	}
</style>
